#ifndef __LINUX_OF_PLATFORM_H
#define __LINUX_OF_PLATFORM_H

#include <linux/of.h>
#include <linux/of_fdt.h>
#include <linux/libfdt.h>

struct of_device_id
{
    char name[32];
    char type[32];
    char compatible[128];
    void *data;
};

struct of_dev_auxdata {
	char *compatible;
	resource_size_t phys_addr;
	char *name;
	void *platform_data;
};

struct of_device_id *__of_match_node( struct of_device_id *matches, struct device_node *node);
struct of_device_id *of_match_node( struct of_device_id *matches,  struct device_node *node);

#endif